package com.oa.dao.impl;

import java.util.List;
import org.springframework.stereotype.Repository;
import com.oa.base.BaseDaoImpl;
import com.oa.dao.LinkDao;
import com.oa.entity.User;
@SuppressWarnings("unchecked")
@Repository("linkDao")
public class LinkDaoImpl extends BaseDaoImpl<User> implements LinkDao {
      //查询所有联系人
	public List<User> findAll(){
		return getSession().createQuery("from User").list();
	}
	
}
